import type { IForm } from '@/base-ui/form/types'

export const searchFormConfig: IForm = {
  labelWidth: '50px',
  itemStyle: {
    padding: '10px 0 0'
  },
  colLayout: {
    span: 6
  },
  formItems: [
    {
      field: 'inputslot',
      label: '插槽',
      slotName: 'inputSlot',
      type: 'input',
      placeholder: '请输入技术名称'
    },
    {
      field: 'name',
      type: 'input',
      label: '名称',
      rules: [],
      placeholder: '请输入名称'
    },
    {
      field: 'intro',
      type: 'input',
      label: '简介',
      rules: [],
      placeholder: '请输入简介'
    },
    {
      field: 'opt',
      type: 'select',
      label: '选择',
      rules: [],
      placeholder: '请选择',
      options: [
        { label: '选项一', value: '1' },
        { label: '选项二', value: '2' }
      ]
    },
    {
      field: 'createTime',
      type: 'datepicker',
      label: '创建时间',
      labelWidth: '80px',
      childrenProps: {
        startPlaceholder: '开始时间',
        endPlaceholder: '结束时间',
        type: 'daterange'
      }
    },
    {
      field: 'name',
      type: 'input',
      label: '名称',
      rules: [],
      placeholder: '请输入名称'
    },
    {
      field: 'intro',
      type: 'input',
      label: '简介',
      rules: [],
      placeholder: '请输入简介'
    },
    {
      field: 'opt',
      type: 'select',
      label: '选择',
      rules: [],
      placeholder: '请选择',
      options: [
        { label: '选项一', value: '1' },
        { label: '选项二', value: '2' }
      ]
    },
    {
      field: 'createTime',
      type: 'datepicker',
      label: '创建时间',
      labelWidth: '80px',
      childrenProps: {
        startPlaceholder: '开始时间',
        endPlaceholder: '结束时间',
        type: 'daterange'
      }
    },
    {
      field: 'name',
      type: 'input',
      label: '名称',
      rules: [],
      placeholder: '请输入名称'
    },
    {
      field: 'intro',
      type: 'input',
      label: '简介',
      rules: [],
      placeholder: '请输入简介'
    },
    {
      field: 'opt',
      type: 'select',
      label: '选择',
      rules: [],
      placeholder: '请选择',
      options: [
        { label: '选项一', value: '1' },
        { label: '选项二', value: '2' }
      ]
    },
    {
      field: 'createTime',
      type: 'datepicker',
      label: '创建时间',
      labelWidth: '80px',
      childrenProps: {
        startPlaceholder: '开始时间',
        endPlaceholder: '结束时间',
        type: 'daterange'
      }
    },
    {
      field: 'name',
      type: 'input',
      label: '名称',
      rules: [],
      placeholder: '请输入名称'
    },
    {
      field: 'intro',
      type: 'input',
      label: '简介',
      rules: [],
      placeholder: '请输入简介'
    },
    {
      field: 'opt',
      type: 'select',
      label: '选择',
      rules: [],
      placeholder: '请选择',
      options: [
        { label: '选项一', value: '1' },
        { label: '选项二', value: '2' }
      ]
    },
    {
      field: 'createTime',
      type: 'datepicker',
      label: '创建时间',
      labelWidth: '80px',
      childrenProps: {
        startPlaceholder: '开始时间',
        endPlaceholder: '结束时间',
        type: 'daterange'
      }
    },
    {
      field: 'name',
      type: 'input',
      label: '名称',
      rules: [],
      placeholder: '请输入名称'
    },
    {
      field: 'intro',
      type: 'input',
      label: '简介',
      rules: [],
      placeholder: '请输入简介'
    },
    {
      field: 'opt',
      type: 'select',
      label: '选择',
      rules: [],
      placeholder: '请选择',
      options: [
        { label: '选项一', value: '1' },
        { label: '选项二', value: '2' }
      ]
    }
    // {
    //   field: 'createTime',
    //   type: 'datepicker',
    //   label: '创建时间',
    //   labelWidth: '80px',
    //   childrenProps: {
    //     startPlaceholder: '开始时间',
    //     endPlaceholder: '结束时间',
    //     type: 'daterange'
    //   }
    // }
  ]
}
